package com.zzw.spring.ioc;

//用于封装记录/记录Bean信息[1.scope 2.Bean对应的Class对象，反射可以用]
public class BeanDefinition {
    private String scope;
    private Class clazz;
    //可以根据需求进行拓展
    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    @Override
    public String toString() {
        return "BeanDefinition{" +
                "scope='" + scope + '\'' +
                ", clazz=" + clazz +
                '}';
    }
}
